import request from '@/utils/request';

export async function getNewMsgAmount(params) {
  return request('/message/getNewMsgAmount', {
    params
  })
}

export async function getMsgList(params) {
  return request('/message/getMsgList', {
    params
  })
}

export async function updateMsgRead(params) {
  return request('/message/updateMsgRead', {
    method: 'post',
    params
  })
}
